﻿using System.ComponentModel.DataAnnotations;

namespace ManagementApi.Models.Commander
{
    public class CommanderEditForm
    {
        /// <summary>
        /// 指挥部名称 
        ///</summary>
        [Display(Name = "指挥部名称")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string Name { get; set; }
        /// <summary>
        /// 指挥者名称 
        ///</summary>
        [Display(Name = "指挥者名称")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string Leader { get; set; }
        /// <summary>
        /// 指挥者手机号码 
        ///</summary>
        [Display(Name = "指挥者手机号码")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string Mobile { get; set; }
        /// <summary>
        /// 指挥者身份证号码 
        ///</summary>
        [Display(Name = "指挥者身份证号码")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string Cardno { get; set; }
    }
}
